#include <QTextCodec>
int main(int argc, char *argv[])
{
    //增加全局支持 Uicode 识别支持，解决中文乱码问题
    QTextCodec *code = QTextCodec::codecForName("UTF-8");
    QTextCodec::setCodecForLocale(code);
    
    QApplication a(argc, argv);
    MyMainWindow w;
    w.show();

    return a.exec();
}
